Rnoc\Retainful\WcFunctions D

Total Complexity 424
Dependencies 7
Dependents 10
Total lines 2,128
Lines of code 1,137
Logical lines of code 603
Comment lines 674
Methods 155
Properties 0

Methods 155

Method Rating Maintainability Complexity Lines of code
getCustomerLastOrderId()
S
63 8 9
canApplyCoupon()
S
59 6 14
getCartSubTotal()
S
62 6 13
getUserRoles()
S
60 6 13
getAppliedDiscounts()
S
52 5 26
getCustomerTotalSpent()
S
57 5 16
setSessionCookie()
S
68 6 6
getCategoryIdsOfProductInCart()
S
59 5 15
getOrderPlacedDate()
S
59 5 14
getUsedCoupons()
S
61 5 12
getCustomerTotalOrders()
S
57 4 16
getSession()
S
66 5 8
applyCouponToOrder()
S
65 5 9
getCustomerEmail()
S
62 4 12
getSaleProductIdsInCart()
S
61 4 12
getCartUrl()
S
62 4 11
getOrderItemMeta()
S
65 4 9
addDiscount()
S
67 4 8
hasDiscount()
S
67 4 8
hasSession()
S
66 4 9
removeSession()
S
66 4 8
isCartEmpty()
S
64 4 10
getOrderUserId()
S
67 4 8
setQuantity()
S
63 4 10
addToCart()
S
63 4 10
removeDiscount()
S
67 4 8
getSiteDefaultLang()
S
65 4 10
getOrderId()
S
67 4 8
getProductCategoryName()
S
67 4 7
setSession()
S
66 4 8
getCustomerOrdersByEmail()
S
59 3 14
getSessionCookie()
S
63 3 12
getProductImageSrc()
S
62 3 11
getPHPSession()
S
67 3 9
setPHPSession()
S
68 3 7
removePHPSession()
S
66 3 9
getSessionCustomerId()
S
70 3 6
getCartHash()
S
70 3 6
getAppliedCouponsOfCart()
S
72 3 5
getCart()
S
70 3 6
getCartTotalForEdit()
S
70 3 6
checkSecuritykey()
S
66 3 8
getAppliedCartCoupons()
S
70 3 6
getCartTotalDiscount()
S
70 3 6
getCartTotalPrice()
S
71 3 6
calculateCartTotals()
S
70 3 6
getCartTaxes()
S
70 3 6
getCartTotal()
S
71 3 6
startPHPSession()
S
74 3 5
getProductIdsInCart()
S
64 3 10
isProductInSale()
S
66 3 9
getUserByEmail()
S
66 3 9
getCartTotalTax()
S
70 3 6
isHPOSEnabled()
S
66 3 9
getCartShippingTotal()
S
71 3 6
getCartShippingTaxTotal()
S
71 3 6
getCartTaxTotal()
S
71 3 6
getCartFees()
S
70 3 6
getPriceExcludingTax()
S
69 3 7
getPriceIncludingTax()
S
69 3 7
isValidCoupon()
S
65 3 9
setOrderMeta()
S
68 3 7
getOrderDate()
S
64 3 10
isMethodExists()
S
70 3 6
getPage()
S
66 3 9
getOrderEmail()
S
67 3 8
initWoocommerceSession()
S
73 3 5
getOrderMeta()
S
68 3 7
getCustomerBillingEmail()
S
70 3 6
getCartDiscountTotal()
S
71 3 6
getBillingFirstName()
S
71 2 6
getShopUrl()
S
71 2 6
getCheckoutUrl()
S
69 2 7
getOrderCurrency()
S
71 2 6
getProductCategoryIds()
S
71 2 6
getDefaultCurrency()
S
72 2 6
getCartItemPrice()
S
68 2 8
getBillingLastName()
S
71 2 6
getCustomerTotalOrdersFromSession()
S
64 2 10
getBillingEmail()
S
71 2 6
getBillingAddressTwo()
S
71 2 6
getBillingAddressOne()
S
71 2 6
getShippingAddressFormatted()
S
71 2 6
getBillingCompany()
S
71 2 6
getBillingPostCode()
S
71 2 6
getBillingPhone()
S
71 2 6
getBillingState()
S
71 2 6
getShippingFirstName()
S
71 2 6
getShippingLastName()
S
71 2 6
getShippingAddressOne()
S
71 2 6
getShippingAddressTwo()
S
71 2 6
getCustomerTotalSpentFromSession()
S
64 2 10
getShippingCity()
S
71 2 6
getShippingState()
S
71 2 6
getShippingCountry()
S
71 2 6
getShippingPostCode()
S
71 2 6
getShippingCompany()
S
71 2 6
getBillingCity()
S
71 2 6
getOrderTotalTax()
S
71 2 6
getOrderItems()
S
72 2 6
getBillingCountry()
S
71 2 6
getOrder()
S
71 2 6
getCouponCode()
S
71 2 6
getItemSubTotal()
S
71 2 6
getOrderReceivedURL()
S
71 2 6
getOrderPaymentURL()
S
71 2 6
isOrderNeedPayment()
S
71 2 6
isOrderPaid()
S
71 2 6
setOrderNote()
S
74 2 5
getOrderFees()
S
71 2 6
getOrderShippingTotal()
S
71 2 6
getOrderDiscount()
S
71 2 6
getItemTaxSubTotal()
S
71 2 6
getProductUrl()
S
71 2 6
getOrderLastName()
S
71 2 6
getOrderSubTotal()
S
71 2 6
getOrderNumber()
S
71 2 6
getOrderItemsTotal()
S
71 2 6
getStatus()
S
69 2 7
hasOrderStatus()
S
71 2 6
setOrderStatus()
S
71 2 6
getProductName()
S
71 2 6
getProductImage()
S
71 2 6
getProductImageId()
S
71 2 6
getProduct()
S
72 2 6
getCategoryId()
S
71 2 6
getOrderFirstName()
S
71 2 6
getOrderTotal()
S
71 2 6
getCouponUsageCount()
S
71 2 6
getItemRegularPrice()
S
71 2 6
getItemPrice()
S
71 2 6
getItemName()
S
70 2 6
getItemTitle()
S
71 2 6
getItemSku()
S
71 2 6
getItemId()
S
71 2 6
getSessionCart()
S
68 2 8
getCouponDiscountType()
S
71 2 6
getCouponDateExpires()
S
71 2 6
getOrderUser()
S
71 2 6
getDefaultWoocommerceCurrency()
S
71 2 6
getAvailableOrderStatuses()
S
72 2 6
getOrdersList()
S
72 2 6
setCustomerPayingForOrder()
S
74 2 5
clearWooNotices()
S
75 2 5
emptyUserCart()
S
69 2 7
setCustomerEmail()
S
71 2 6
formatPrice()
S
71 2 6
priceDecimals()
S
72 2 6
priceThousandSeparator()
S
72 2 6
priceDecimalSeparator()
S
72 2 6
getClientSession()
S
63 1 11
getPostMeta()
S
79 1 3
deleteOrderMeta()
S
79 1 3
removeTotalOrdersAndSpentFromSession()
S
78 1 4
isPriceExcludingTax()
S
80 1 3